package com.lxy.entity;

import java.util.Date;

public class Doctor {
    private Integer docid;
    private String name;
    private String password;
    private String role;
    private String realname;
    private String departid;
    private String positional;
    private String sex;
    private Integer age;
    private String tel;
    private Date createDate;

    public Doctor(Integer docid, String name, String departid, String positional, String tel, Date createDate) {
        this.docid = docid;
        this.name = name;
        this.departid = departid;
        this.positional = positional;
        this.tel = tel;
        this.createDate = createDate;
    }

    public Doctor() {
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "docid='" + docid + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", role='" + role + '\'' +
                ", realname='" + realname + '\'' +
                ", departid='" + departid + '\'' +
                ", positional='" + positional + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", tel='" + tel + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public Integer getDocid() {
        return docid;
    }

    public void setDocid(Integer docid) {
        this.docid = docid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getDepartid() {
        return departid;
    }

    public void setDepartid(String departid) {
        this.departid = departid;
    }

    public String getPositional() {
        return positional;
    }

    public void setPositional(String positional) {
        this.positional = positional;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
